package com.alm.token.ui.data.bean;

import java.util.List;

/**
 * Created by en on 2019/1/9.
 */

public class DrawIndexData {

    /**
     * msg : 操作成功
     * status : 0
     * data : {"msg":"提取须知:手续费最低要求支付21个。","proMoney":"4.2651 G12","wallets":[{"id":1,"name":"ETH","engName":"Ethereum","logo":"http://m.zcoin.vip:81/static/images/59137902171.png","price":148.4,"money":987772.35,"totalMoney":1.4658541674E8,"createTime":1545892607000,"updateTime":1546956619000},{"id":2,"name":"G12","engName":"G12coin","logo":"http://m.zcoin.vip:81/static/images/01406947753.png","price":0.2031,"money":996713.9955,"totalMoney":202432.6125,"createTime":1545892609000,"updateTime":1546956631000}]}
     * success : true
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * "proType": 2, // 手续费扣除方式 1 固定数额 2 按比例
         * "pro": "0.05", // 数额
         * "proMoneyType": "MIO", // 扣除的手续费币种
         * msg : 提取须知:手续费最低要求支付21个。
         * "minDollar": "2",
         * proMoney : 4.2651 G12
         * wallets : [{"id":1,"name":"ETH","engName":"Ethereum","logo":"http://m.zcoin.vip:81/static/images/59137902171.png","price":148.4,"money":987772.35,"totalMoney":1.4658541674E8,"createTime":1545892607000,"updateTime":1546956619000},{"id":2,"name":"G12","engName":"G12coin","logo":"http://m.zcoin.vip:81/static/images/01406947753.png","price":0.2031,"money":996713.9955,"totalMoney":202432.6125,"createTime":1545892609000,"updateTime":1546956631000}]
         */

        private int proType;
        private String proMoneyType;
        private double pro;

        private String msg;
        private String proMoney;
        private double minDollar;
        private List<WalletsBean> wallets;
        private List<WalletsBean> wallet;

        public int getProType() {
            return proType;
        }

        public void setProType(int proType) {
            this.proType = proType;
        }

        public String getProMoneyType() {
            return proMoneyType;
        }

        public void setProMoneyType(String proMoneyType) {
            this.proMoneyType = proMoneyType;
        }

        public double getPro() {
            return pro;
        }

        public void setPro(double pro) {
            this.pro = pro;
        }

        public String getMsg() {
            return msg;
        }

        public void setMsg(String msg) {
            this.msg = msg;
        }

        public String getProMoney() {
            return proMoney;
        }

        public void setProMoney(String proMoney) {
            this.proMoney = proMoney;
        }

        public double getMinDollar() {
            return minDollar;
        }

        public void setMinDollar(double minDollar) {
            this.minDollar = minDollar;
        }

        public List<WalletsBean> getWallets() {
            return wallets;
        }

        public void setWallets(List<WalletsBean> wallets) {
            this.wallets = wallets;
        }

        public List<WalletsBean> getWallet() {
            return wallet;
        }

        public void setWallet(List<WalletsBean> wallet) {
            this.wallet = wallet;
        }

        public static class WalletsBean {
            /**
             * id : 1
             * name : ETH
             * engName : Ethereum
             * logo : http://m.zcoin.vip:81/static/images/59137902171.png
             * price : 148.4
             * money : 987772.35
             * totalMoney : 1.4658541674E8
             * createTime : 1545892607000
             * updateTime : 1546956619000
             */
            /**
             * "transferSwitch": 1,
             * "drawSwitch": 0,
             * "frozenMoney": 0,
             * "change": false,
             * <p>
             * <p>
             * "minTransfer":10.0
             * "maxTransfer":100000.0
             */

            private int id;
            private String name;
            private String engName;
            private String logo;
            private double price;
            private double money;
            private double totalMoney;
            private long createTime;
            private long updateTime;

            private int transferSwitch;
            private int drawSwitch;
            private double frozenMoney;
            private boolean change;

            private double minTransfer;
            private double maxTransfer;


            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getEngName() {
                return engName;
            }

            public void setEngName(String engName) {
                this.engName = engName;
            }

            public String getLogo() {
                return logo;
            }

            public void setLogo(String logo) {
                this.logo = logo;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getMoney() {
                return money;
            }

            public void setMoney(double money) {
                this.money = money;
            }

            public double getTotalMoney() {
                return totalMoney;
            }

            public void setTotalMoney(double totalMoney) {
                this.totalMoney = totalMoney;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }

            public int getTransferSwitch() {
                return transferSwitch;
            }

            public void setTransferSwitch(int transferSwitch) {
                this.transferSwitch = transferSwitch;
            }

            public int getDrawSwitch() {
                return drawSwitch;
            }

            public void setDrawSwitch(int drawSwitch) {
                this.drawSwitch = drawSwitch;
            }

            public double getFrozenMoney() {
                return frozenMoney;
            }

            public void setFrozenMoney(double frozenMoney) {
                this.frozenMoney = frozenMoney;
            }

            public boolean isChange() {
                return change;
            }

            public void setChange(boolean change) {
                this.change = change;
            }

            public double getMinTransfer() {
                return minTransfer;
            }

            public void setMinTransfer(double minTransfer) {
                this.minTransfer = minTransfer;
            }

            public double getMaxTransfer() {
                return maxTransfer;
            }

            public void setMaxTransfer(double maxTransfer) {
                this.maxTransfer = maxTransfer;
            }
        }
    }
}
